import javax.swing.JPanel;

import javax.swing.JLabel;
import javax.swing.JTextField;
import java.awt.Component;
import javax.swing.Box;
import javax.swing.JTextArea;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JComboBox;


public class AddUserGUI extends JPanel {
    private JTextField textField;
    private JTextField textField_1;
    private JTextField textField_2;
    private JTextField textField_3;
    private JTextField textField_4;
    private JTextField textField_5;
    private JTextField textField_6;
    private JTextField textField_7;
    private JTextField textField_8;
    private JTextField textField_9;
    private JTextField textField_10;
    public AddUserGUI() {
        setLayout(null);
        
        JLabel lblName = new JLabel("Name");
        lblName.setBounds(12, 8, 27, 14);
        add(lblName);
        
        textField = new JTextField();
        textField.setBounds(44, 5, 86, 20);
        add(textField);
        textField.setColumns(10);
        
        JLabel lblAddress = new JLabel("Address");
        lblAddress.setBounds(160, 8, 39, 14);
        add(lblAddress);
        
        textField_1 = new JTextField();
        textField_1.setBounds(204, 5, 86, 20);
        add(textField_1);
        textField_1.setColumns(10);
        
        JLabel lblNewLabel = new JLabel("Phone");
        lblNewLabel.setBounds(9, 33, 30, 14);
        add(lblNewLabel);
        
        textField_2 = new JTextField();
        textField_2.setBounds(44, 30, 86, 20);
        add(textField_2);
        textField_2.setColumns(10);
        
        JLabel lblCell = new JLabel("Cell");
        lblCell.setBounds(160, 33, 17, 14);
        add(lblCell);
        
        textField_3 = new JTextField();
        textField_3.setBounds(207, 30, 86, 20);
        add(textField_3);
        textField_3.setColumns(10);
        
        JLabel lblEmail = new JLabel("Email");
        lblEmail.setBounds(15, 58, 24, 14);
        add(lblEmail);
        
        textField_4 = new JTextField();
        textField_4.setBounds(44, 55, 86, 20);
        add(textField_4);
        textField_4.setColumns(10);
        
        JLabel lblNewLabel_1 = new JLabel("Gender");
        lblNewLabel_1.setBounds(160, 58, 35, 14);
        add(lblNewLabel_1);
        
        textField_5 = new JTextField();
        textField_5.setBounds(200, 55, 86, 20);
        add(textField_5);
        textField_5.setColumns(10);
        
        JLabel lblNewLabel_2 = new JLabel("Pharmacy");
        lblNewLabel_2.setBounds(10, 83, 47, 14);
        add(lblNewLabel_2);
        
        textField_6 = new JTextField();
        textField_6.setBounds(62, 80, 86, 20);
        add(textField_6);
        textField_6.setColumns(10);
        
        JLabel lblInsurance = new JLabel("Insurance");
        lblInsurance.setBounds(153, 83, 48, 14);
        add(lblInsurance);
        
        textField_7 = new JTextField();
        textField_7.setBounds(206, 80, 86, 20);
        add(textField_7);
        textField_7.setColumns(10);
        
        JLabel lblAllergies = new JLabel("Allergies");
        lblAllergies.setBounds(6, 127, 40, 14);
        add(lblAllergies);
        
        JTextArea textArea = new JTextArea();
        textArea.setBounds(51, 105, 244, 58);
        textArea.setRows(3);
        textArea.setColumns(30);
        add(textArea);
        
        JButton btnCreate = new JButton("Edit");
        btnCreate.setBounds(197, 277, 89, 23);
        add(btnCreate);
        
        JButton btnCancel = new JButton("Cancel");
        btnCancel.setBounds(325, 277, 89, 23);
        add(btnCancel);
        
        JButton btnNewButton = new JButton("Delete Patient");
        btnNewButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
            }
        });
        btnNewButton.setBounds(9, 277, 139, 23);
        add(btnNewButton);
        
        JComboBox comboBox = new JComboBox();
        comboBox.setBounds(363, 30, 28, 20);
        add(comboBox);
        
        JComboBox comboBox_1 = new JComboBox();
        comboBox_1.setBounds(363, 55, 28, 20);
        add(comboBox_1);
        
        JLabel lblSocialSecurity = new JLabel("Social Security");
        lblSocialSecurity.setBounds(11, 174, 89, 14);
        add(lblSocialSecurity);
        
        textField_8 = new JTextField();
        textField_8.setBounds(91, 171, 86, 20);
        add(textField_8);
        textField_8.setColumns(10);
        
        JLabel lblRole = new JLabel("Role");
        lblRole.setBounds(307, 33, 46, 14);
        add(lblRole);
        
        JLabel lblNewLabel_3 = new JLabel("Suspension");
        lblNewLabel_3.setBounds(296, 58, 77, 14);
        add(lblNewLabel_3);
        
        JLabel lblPassword = new JLabel("Password");
        lblPassword.setBounds(12, 199, 46, 14);
        add(lblPassword);
        
        textField_9 = new JTextField();
        textField_9.setBounds(62, 199, 86, 20);
        add(textField_9);
        textField_9.setColumns(10);
        
        JLabel lblUsername = new JLabel("Username");
        lblUsername.setBounds(11, 224, 77, 14);
        add(lblUsername);
        
        textField_10 = new JTextField();
        textField_10.setBounds(62, 221, 86, 20);
        add(textField_10);
        textField_10.setColumns(10);
    }
}
